﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.IteratorPattern.BuyTicket.Abstract
{
    /// <summary>
    /// 抽象的聚集类
    /// </summary>
    public abstract class AbstractAggregate
    {
        /// <summary>
        /// 创建迭代器
        /// </summary>
        /// <returns></returns>
        public abstract AbstractIterator CreateIterator();
    }
}
